﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_VIPCard : UserControl
    {
        public Control_VIPCard()
        {
            InitializeComponent();
        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void button3_Click(object sender, EventArgs e)
        {
            
            VIPCardRecharge vcr = new VIPCardRecharge();
            vcr.Show();
            vcr.Activate();
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            //根据sql语句查询
            //如果成功
            this.MainPanel.Controls.Clear();
            VIPInfo vipinfo = new VIPInfo();
            vipinfo.Show();
            this.MainPanel.Controls.Add(vipinfo);
            //然后为每一项赋值
        }
    }
}
